
<div class="fleft">
	<table border="1" id="view" style="border-collapse:collapse; width:780px;">
    	<tr>
        	<th  width="30">STT</th>
            <th width="200" >Nội dung KLGB</th>
            <th width="90">Phòng ban</th>
            <th width="200" >Nội dung trả mời</th>
            <th width="90">Ngày Trả</th>
            <th width="80">File</th>
            <th width="80">Người tạo</th>
        </tr>
        <?php $i=1; foreach($traketquas as $item){?>
            <tr>
                <td width="30" align="center"><?=$i;?></td>
                <td ><?=$item->noidungcon;?></td>
                <td ><?=$item->phongban;?></td>
                <td ><?=$item->noidung;?></td>
                <td align="center"><?=date('d-m-Y H:i:s',strtotime($item->datecreate));?></td>
                <td>
                	<?php if(!empty($item->fileupload)){?>
                	<a href="<?=base_url()?>files/traketqua/<?=$item->fileupload;?>"><div style="color:#36F;" class="fright fa fa-download mleft5 f14">&nbsp;&nbsp;</div></a>
                    <?php }?>
                </td>
                <td><?=$item->usercreate;?></td>
            </tr>
        <?php $i++;}?>
    </table>
</div>
<style type="text/css">
	#view th,td{ border:1px solid #ccc; padding:3px;}
	th{ background:#fafafa;}
</style>